<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
<head>
    <title>Title</title>
</head>
<body>
<a href="ll.jsp?canshu=student">传递参数</a>
<c:choose>
    <c:when test="${param.canshu == 'student'}">
        学生模式
    </c:when>
    <c:when test="${param.canshu == 'teacher'}">
        教学模式
    </c:when>
    <c:otherwise>
        浏览模式
    </c:otherwise>
</c:choose>
</body>
</html>